package com.xctech.ipb.dpn.hyc.model.req;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.util.List;

@Data
public class StationReq implements java.io.Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @NotNull(message = "站点数量不能为空")
    private Long listSize;

    @NotEmpty(message = "站点信息列表不能为空")
    private List<StationInfoReq> stationInfoList;

}
